import { http } from "@/utils/http";
import { baseUrlApi,baseUrlCos } from "@/api/utils";

// 获取oss临时密钥
export function credential() {
  return http.request("get", baseUrlApi("common/credential"));
}
/*枚举*/
export const enums = (params?) => {
  return http.request("get", baseUrlApi("base/enums"), {
    params
  });
};
// 上传图片的接口地址
export const uploadUrl = baseUrlApi("image/upload");
